package org.itheima.googleplay.http;

import java.util.List;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;

public class HotProtocol extends BaseProtocol<List<String>>{

	@Override
	protected String getKey() {
		return "hot";
	}
	@Override
	protected List<String> parseJson(String json) {
		//return new Gson().fromJson(json, new TypeToken<List<String>>(){}.getType());
		return new Gson().fromJson(json, new TypeToken<List<String>>(){}.getType());
	}
}
